<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title> 
    <style>
        .box{
            width: 180px;
            height: 300px;
            background-image: url(./girl.png);
            animation:  move 1s steps(6) infinite;
        }
        @keyframes move{
            0%{
                background-position-x: 0px;
            }
            100%{
                background-position-x: -1080px;
            }
        }
    </style>
</head>
<body>
    <div class="box">

    </div>
</body>
</html>